Optimal. Leaf size=188 \[ \frac{10 e^3 \left (11 a^2+2 b^2\right ) \sin (c+d x) \sqrt{e \cos (c+d x)}}{231 d}+\frac{10 e^4 \left (11 a^2+2 b^2\right ) \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}+\frac{2 e \left (11 a^2+2 b^2\right ) \sin (c+d x) (e \cos (c+d x))^{5/2}}{77 d}-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.191299, antiderivative size = 188, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2692, 2669, 2635, 2642, 2641} \[ \frac{10 e^3 \left (11 a^2+2 b^2\right ) \sin (c+d x) \sqrt{e \cos (c+d x)}}{231 d}+\frac{10 e^4 \left (11 a^2+2 b^2\right ) \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}+\frac{2 e \left (11 a^2+2 b^2\right ) \sin (c+d x) (e \cos (c+d x))^{5/2}}{77 d}-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2692
Rule 2669
Rule 2635
Rule 2642
Rule 2641
Rubi steps
\begin{align*} \int (e \cos (c+d x))^{7/2} (a+b \sin (c+d x))^2 \, dx &=-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}+\frac{2}{11} \int (e \cos (c+d x))^{7/2} \left (\frac{11 a^2}{2}+b^2+\frac{13}{2} a b \sin (c+d x)\right ) \, dx\\ &=-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}+\frac{1}{11} \left (11 a^2+2 b^2\right ) \int (e \cos (c+d x))^{7/2} \, dx\\ &=-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}+\frac{2 \left (11 a^2+2 b^2\right ) e (e \cos (c+d x))^{5/2} \sin (c+d x)}{77 d}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}+\frac{1}{77} \left (5 \left (11 a^2+2 b^2\right ) e^2\right ) \int (e \cos (c+d x))^{3/2} \, dx\\ &=-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}+\frac{10 \left (11 a^2+2 b^2\right ) e^3 \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}+\frac{2 \left (11 a^2+2 b^2\right ) e (e \cos (c+d x))^{5/2} \sin (c+d x)}{77 d}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}+\frac{1}{231} \left (5 \left (11 a^2+2 b^2\right ) e^4\right ) \int \frac{1}{\sqrt{e \cos (c+d x)}} \, dx\\ &=-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}+\frac{10 \left (11 a^2+2 b^2\right ) e^3 \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}+\frac{2 \left (11 a^2+2 b^2\right ) e (e \cos (c+d x))^{5/2} \sin (c+d x)}{77 d}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}+\frac{\left (5 \left (11 a^2+2 b^2\right ) e^4 \sqrt{\cos (c+d x)}\right ) \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx}{231 \sqrt{e \cos (c+d x)}}\\ &=-\frac{26 a b (e \cos (c+d x))^{9/2}}{99 d e}+\frac{10 \left (11 a^2+2 b^2\right ) e^4 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}+\frac{10 \left (11 a^2+2 b^2\right ) e^3 \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}+\frac{2 \left (11 a^2+2 b^2\right ) e (e \cos (c+d x))^{5/2} \sin (c+d x)}{77 d}-\frac{2 b (e \cos (c+d x))^{9/2} (a+b \sin (c+d x))}{11 d e}\\ \end{align*}
Mathematica [A] time = 1.90765, size = 160, normalized size = 0.85 \[ \frac{(e \cos (c+d x))^{7/2} \left (40 \left (11 a^2+2 b^2\right ) F\left (\left .\frac{1}{2} (c+d x)\right |2\right )+\frac{1}{6} \sqrt{\cos (c+d x)} \left (6 \left (572 a^2+41 b^2\right ) \sin (c+d x)+8 \cos (2 (c+d x)) \left (9 \left (11 a^2-5 b^2\right ) \sin (c+d x)-154 a b\right )-14 b \cos (4 (c+d x)) (22 a+9 b \sin (c+d x))\right )-154 a b \sqrt{\cos (c+d x)}\right )}{924 d \cos ^{\frac{7}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.214, size = 473, normalized size = 2.5 \begin{align*} -{\frac{2\,{e}^{4}}{693\,d} \left ( -4032\,{b}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{12}-4928\,ab \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{11}+10080\,{b}^{2} \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{10}\cos \left ( 1/2\,dx+c/2 \right ) +1584\,{a}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{8}+12320\,ab \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{9}-9792\,{b}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{8}-2376\,{a}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}-12320\,ab \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{7}+4608\,{b}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}+1848\,{a}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}+6160\,ab \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{5}-924\,{b}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}+165\,\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ){a}^{2}+30\,\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ){b}^{2}-528\,{a}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1540\,ab \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{3}+30\,{b}^{2}\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}+154\,\sin \left ( 1/2\,dx+c/2 \right ) ab \right ) \left ( \sin \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}e+e}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{7}{2}}{\left (b \sin \left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (b^{2} e^{3} \cos \left (d x + c\right )^{5} - 2 \, a b e^{3} \cos \left (d x + c\right )^{3} \sin \left (d x + c\right ) -{\left (a^{2} + b^{2}\right )} e^{3} \cos \left (d x + c\right )^{3}\right )} \sqrt{e \cos \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{7}{2}}{\left (b \sin \left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]